# iTunesFM 番組スクリプトサンプル2
#   2010(c)Nihondo

# 番組名、放送局名、周波数、パーソナリティ ------------------
program: iTunes Countdown 20
station: iTunes FM
band: 76.5
# パーソナリティのファーストネームで、テキスト読み上げのボイス名を指定する
# システム環境設定の「スピーチ」を参照のこと
personality: Vicki Davis


# 番組モードの指定
# （例）
#   songs 10		プレイリストの最初の10曲を再生（数字は任意）
#   minites 30	プレイリストの最初から約30分間再生（数字は任意）
#   all			プレイリストの全曲を再生
mode: songs 20


# 以下、番組の定義
# {セクション名}: {パターン番号}, {コマンド} {引数}
# セクションごとに 0〜9 までのパターンを定義可能で、再生時ランダム選択される
#
# コマンド
#   play {ファイル名}	指定したファイル名を再生
#   play {フォルダ名}	指定したフォルダ配下のファイルをランダム再生
#   play [[iTunes]]	iTunes のプレイリストから次の曲を再生
# 　wait {秒数}		指定した秒数分待機
#   say "{文字列}"		指定した文字列を発話
#     say コマンド内で使える変数
#        [[program]]		番組名
#        [[station]]		放送局名
#        [[band]]			周波数
#        [[song]]			曲名
#        [[name]]			アーティスト名
#        [[album]]			アルバム名
#        [[artistinfo]]		アーティスト情報（introWセクション内のみ）
#        [[personality]]	パーソナリティ名
#        [[trackno]]		現在の曲番号（１曲目からカウントアップ）
#        [[trackleft]]		プレイリストの残りの曲数（カウントダウン番組など用）


# オープニング  ---------------------------------------------
opening: 0, play Sounds/Opening
opening: 0, wait 5
opening: 0, say "Hello, This program is [[program]]. "
opening: 0, say "presented by [[personality]]."
opening: 0, wait 0.5
opening: 0, say "[[band]], [[station]]"
opening: 0, wait 5


# 曲紹介のパターン ------------------------------------------

# introW は、アーティスト紹介ありのパターン
# [[artistinfo]] を含めること
introW: 0, play Sounds/Jingle-S/ハウス_ショート版.mp3
introW: 0, wait 0.5
introW: 0, say "Number [[trackleft]]"
introW: 0, wait 0.5
introW: 0, play Sounds/BGM
introW: 0, wait 5
introW: 0, say "[[artistinfo]]"
introW: 0, play [[iTunes]]
introW: 0, wait 1
introW: 0, say "[[name]], [[song]]"

# intro は、アーティスト紹介なしのパターン
intro: 0, play Sounds/Jingle-S/ハウス_ショート版.mp3
intro: 0, wait 0.5
intro: 0, say "Number [[trackleft]]"
intro: 0, wait 0.5
intro: 0, play [[iTunes]]
intro: 0, wait 1
intro: 0, say "[[name]], [[song]], from [[album]]"

intro: 1, play Sounds/Jingle-S/ハウス_ショート版.mp3
intro: 1, wait 0.5
intro: 1, say "Number [[trackleft]]"
intro: 1, wait 0.5
intro: 1, play [[iTunes]]
intro: 1, wait 1
intro: 1, say "Ok now. The next song is, [[song]]."

intro: 2, play Sounds/Jingle-S/ハウス_ショート版.mp3
intro: 2, wait 0.5
intro: 2, say "Number [[trackleft]]"
intro: 2, wait 0.5
intro: 2, say "[[song]]."
intro: 2, play [[iTunes]]

intro: 3, play Sounds/Jingle-S/ハウス_ショート版.mp3
intro: 3, wait 0.5
intro: 3, say "Number [[trackleft]]"
intro: 3, wait 0.5
intro: 3, play [[iTunes]]
intro: 3, wait 1
intro: 3, say "The next song is, [[song]], by [[name]]."

intro: 4, play Sounds/Jingle-S/ハウス_ショート版.mp3
intro: 4, wait 0.5
intro: 4, say "Number [[trackleft]]"
intro: 4, wait 0.5
intro: 4, say "[[name]], [[song]]"
intro: 4, play [[iTunes]]


# ジングルのパターン  ----------------------------------------
jingle: 0, play Sounds/Jingle-M
jingle: 0, wait 5
jingle: 0, say "This program is brought to you by [[station]]"

jingle: 1, play Sounds/Jingle-S
jingle: 1, wait 2
jingle: 1, say "[[band]], [[station]]"


# インターバルのパターン -------------------------------------
# この機能は 0.9.0 では未実装です。
# 毎時0分をこえたタイミングで再生される
#interval: 0, rss http://feeds.feedburner.com/japantimes
#interval: 0, play Sounds/BGM-Teabreak
#interval: 0, wait 5
#interval: 0, say "[[band]], News and Weather Infomation."
#interval: 0, say "[[title]]"
#interval: 0, say "[[description]]"
#interval: 0, wait 1
#interval: 0, say "[[title]]"
#interval: 0, say "[[description]]"
#interval: 0, wait 1
#interval: 0, say "[[title]]"
#interval: 0, say "[[description]]"


# エンディング ------------------------------------------------
ending: 0, play Sounds/BGM-Teabreak
ending: 0, wait 10
ending: 0, say "Thank you for listening. This program is [[program]], presented by [[personality]]."
ending: 0, wait 2
ending: 0, say "See you next. Byebye."
ending: 0, wait 30
